<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var a = [1,2,3,4]
			var b = a.concat(a.slice(0,4))
			console.log(b)
						
//			var a = "i am a student"
//			var b = []
//			a.split(" ")
//			console.log(a.split(" "))
//			for(var i = 3;i>=0;i--){
//				b.push(a.split(" ")[i])
//			}
//			console.log(b.join(" "))
//			
		</script>
	</body>
</html>
